Skip to content

Notification.ToObservable() method

Defined in

Type: Notification Namespace: System.Reactive Assembly: System.Reactive.dll

Applies to

netstandard2.0

Overloads

  • 1. public IObservable<T> ToObservable()
  • 2. public IObservable<T> ToObservable(IScheduler scheduler)

1. Overload

public IObservable<T> ToObservable()

Summary: Returns an observable sequence with a single notification, using the immediate scheduler.

Returns: IObservable -- The observable sequence that surfaces the behavior of the notification upon subscription.

2. Overload

public IObservable<T> ToObservable(IScheduler scheduler)

Summary: Returns an observable sequence with a single notification.

Parameters

NameTypeDescription
scheduler[IScheduler](#Scheduler to send out the notification calls on.

Returns: IObservable -- The observable sequence that surfaces the behavior of the notification upon subscription.